package com.dearbinge.data.dao.admin;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dearbinge.data.pojo.admin.AdminSecurityUser;

public interface AdminSecurityUserMapper {

	AdminSecurityUser loginUser(@Param("username")String username , @Param("password")String password);

    int countByExample(AdminSecurityUser example);

    int deleteByExample(AdminSecurityUser example);

    int deleteByPrimaryKey(Integer id);

    int insert(AdminSecurityUser record);

    int insertSelective(AdminSecurityUser record);

    List<AdminSecurityUser> selectByExample(AdminSecurityUser example);

    AdminSecurityUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AdminSecurityUser record, @Param("example") AdminSecurityUser example);

    int updateByExample(@Param("record") AdminSecurityUser record, @Param("example") AdminSecurityUser example);

    int updateByPrimaryKeySelective(AdminSecurityUser record);

    int updateByPrimaryKey(AdminSecurityUser record);
}